package com.mrobuy.jdvc.entity;

import com.gavel.annotation.FieldMeta;
import com.gavel.annotation.TableMeta;
import com.gavel.database.SQLExecutor;

import java.util.Date;

@TableMeta(name = "VC_PRODUCT_INFO", title = "京东审核通过商品")
public class VCProductInfo {


    /**
     * wareId : 100016413300
     * wareName : 京苏（JingSu）91129C-02-AL 铝铜防爆多用扳手 10-30MM
     * saleState : 1
     * modifyTime : Nov 6, 2020 6:53:03 PM
     * isPrimary : 1
     * isGaea : 1
     */


    @FieldMeta(name = "WAREID", title = "商品编号", length = 64,  primary = true)
    private String wareId;

    @FieldMeta(name = "WARENAME", title = "商品名称", length = 128)
    private String wareName;

    @FieldMeta(name = "SALESTATE", title = "上下柜状态")
    private Integer saleState;

    @FieldMeta(name = "MODIFYTIME", title = "修改时间")
    private Date modifyTime;

    @FieldMeta(name = "ISPRIMARY", title = "是否有主图")
    private Integer isPrimary;

    @FieldMeta(name = "ISGAEA", title = "是否盖亚") //是否盖亚 0:非盖亚 1：盖亚
    private Integer isGaea;

    @FieldMeta(name = "UPDATETIME", title = "更新时间")
    private Date updateTime;


    @FieldMeta(name = "PICAPPLYID", title = "主图申请ID", length = 32)
    private String picApplyId;

    @FieldMeta(name = "APPLYTIME", title = "主图申请时间", length = 32)
    private String applyTime;


    @FieldMeta(name = "STATE", title = "主图申请状态")
    private Integer state;

    @FieldMeta(name = "BRANDID", title = "品牌id")
    private Integer brandId;

    @FieldMeta(name = "CATEGORYID", title = "分类id")
    private Integer categoryId;

    @FieldMeta(name = "VENDORCODE", title = "供应商简码", length = 20)
    private String vendorCode;

    @FieldMeta(name = "BRANDNAME", title = "品牌名", length = 30)
    private String brandName;

    @FieldMeta(name = "CATEGORYNAME", title = "品类名", length = 50)
    private String categoryName;

    @FieldMeta(name = "SUBMITTIME", title = "提交时间")
    private Date submitTime;

    @FieldMeta(name = "MESSAGE", title = "消息", length = 10000)
    private String message;


    @FieldMeta(name = "PUBLISHEXPORT", title = "上柜申请表导出", length = 8)
    private String publishexport;

    @FieldMeta(name = "PUBLISHEXPORTTIME", title = "上柜申请表导出时间")
    private Date publishexporttime;

    @FieldMeta(name = "EPEXPORT", title = "EP池申请表导出", length = 8)
    private String epexport;

    @FieldMeta(name = "EPEXPORTTIME", title = "EP池申请导出时间")
    private Date epexporttime;


    public String getWareId() {
        return wareId;
    }

    public void setWareId(String wareId) {
        this.wareId = wareId;
    }

    public String getWareName() {
        return wareName;
    }

    public void setWareName(String wareName) {
        this.wareName = wareName;
    }

    public Integer getSaleState() {
        return saleState;
    }

    public void setSaleState(Integer saleState) {
        this.saleState = saleState;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getIsPrimary() {
        return isPrimary;
    }

    public void setIsPrimary(Integer isPrimary) {
        this.isPrimary = isPrimary;
    }

    public Integer getIsGaea() {
        return isGaea;
    }

    public void setIsGaea(Integer isGaea) {
        this.isGaea = isGaea;
    }

    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getVendorCode() {
        return vendorCode;
    }

    public void setVendorCode(String vendorCode) {
        this.vendorCode = vendorCode;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static void main(String[] args) throws Exception {
        SQLExecutor.createTable(VCProductInfo.class);
    }

    public String getPicApplyId() {
        return picApplyId;
    }

    public void setPicApplyId(String picApplyId) {
        this.picApplyId = picApplyId;
    }

    public String getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(String applyTime) {
        this.applyTime = applyTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getPublishexport() {
        return publishexport;
    }

    public void setPublishexport(String publishexport) {
        this.publishexport = publishexport;
    }

    public Date getPublishexporttime() {
        return publishexporttime;
    }

    public void setPublishexporttime(Date publishexporttime) {
        this.publishexporttime = publishexporttime;
    }

    public String getEpexport() {
        return epexport;
    }

    public void setEpexport(String epexport) {
        this.epexport = epexport;
    }

    public Date getEpexporttime() {
        return epexporttime;
    }

    public void setEpexporttime(Date epexporttime) {
        this.epexporttime = epexporttime;
    }

    @Override
    public String toString() {
        return "VCProductInfo{" +
                "wareId='" + wareId + '\'' +
                ", wareName='" + wareName + '\'' +
                ", saleState=" + saleState +
                ", modifyTime=" + modifyTime +
                ", isPrimary=" + isPrimary +
                ", isGaea=" + isGaea +
                ", brandId=" + brandId +
                ", categoryId=" + categoryId +
                ", vendorCode='" + vendorCode + '\'' +
                ", brandName='" + brandName + '\'' +
                ", categoryName='" + categoryName + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
